<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
	<script type="text/javascript" src="../jquery-3.2.1.js"></script>
	<script type="text/javascript">
		$.ajax({
			//请求方式
			type: "get",
			//请求头
			contentType: "",
			//多个请求头
			headers: {
				token: ""
			},
			//请求地址
			url: "",
			//传参
			data: {
				name: "aaa",
				age: 18
			},
			//成功的回调
			success:function(res) {

			},
			//失败的回调
			error:function(err) {
				
			}
		})
	</script>
</body>
</html>